<template>
  <div class="jic-1">
    <div class="top-1">
      <div class="tops"></div>
      <div>{{ title }}</div>
    </div>
    <div class="bon-1">
      <slot></slot>
    </div>
  </div>
</template>

<script lang="ts" setup>
defineProps<{
  title: string
}>()
</script>

<style lang="scss" scoped>
.jic-1 {
  width: 100%;
  height: 250px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: #fff;
}
.top-1 {
  width: 100%;
  height: 30px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #797575;
}
.tops {
  width: 3px;
  height: 100%;
  margin-right: 8px;
  background: #36a9ce;
}
.bon-1 {
  width: 100%;
  height: 210px;
  padding: 10px;
  box-sizing: border-box;
}
</style>
